package com.pxst.bank.req;

import com.pxst.req.BasePageRsp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel(value = "账户群组-搜索 请求类")
@Data
public class AccountGroupReq extends BasePageRsp {
    @ApiModelProperty(value = "银行卡群Id", allowEmptyValue = true)
    private Long bankCardGroupId;

    @ApiModelProperty(value = "系统银行卡Id", allowEmptyValue = true)
    private List<Long> bankCardId;

    @ApiModelProperty(value = "商户Id", allowEmptyValue = true)
    private List<Long> merchantId;

    @NotBlank(message = "币种不能为空！")
    @ApiModelProperty(value = "币种", allowEmptyValue = false)
    private String currency;

    @ApiModelProperty(value = "账户代码", allowEmptyValue = true)
    private String accountCode;

    @NotNull(message = "账户模式不能为空！")
    @ApiModelProperty(value = "账户模式", allowEmptyValue = false)
    private Integer mode;
}
